home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / MacTech® Magazine / Volume 11 - 1995 / 11.06 Jun 95 / Apple Events in PowerPlant / Powering Up Code / SCApp.h < prev    next >
Encoding:
Text File  |  1995-04-04  |  743 b   |  24 lines  |  [TEXT/MMCC]

  1. // ===========================================================================
  2. // SCApp.h
  3. // ===========================================================================
  4. // © 1995 James Kaput, Jeremy Roschelle SimCalc Project
  5.  
  6. #pragma once
  7.  
  8. class SCSetPropertyAction;
  9.  
  10. class SCApp  : public LDocApplication {
  11.     public:
  12.         virtual void        StartUp();
  13.         static long             GenerateUniqueID();
  14.         static void            PostAction(SCSetPropertyAction *inAction);
  15.         virtual Boolean        ObeyCommand(CommandT inCommand, void *ioParam = nil);
  16.         virtual void        FindCommandStatus(CommandT inCommand,
  17.                             Boolean &outEnabled, Boolean &outUsesMark,
  18.                             Char16 &outMark, Str255 outName);
  19.  
  20.     protected: 
  21.         static     long                sUniqueID;
  22.         static SCSetPropertyAction    *sAction;
  23. };
  24.